package org.cornland.systemWarning.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 平台瞬量错误日志表
 * </p>
 *
 * @author Hawk Tang
 * @since 2021-10-13
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="PtInstance对象", description="平台瞬量错误日志表")
public class PtInstance implements Serializable {

    private static final long serialVersionUID=1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "平台id")
    private Integer tId;

    @ApiModelProperty(value = "作业区id")
    private String zyqId;

    @ApiModelProperty(value = "实际总瞬量")
    private Double value;

    @ApiModelProperty(value = "诊断记录时间")
    private Date time;

    @ApiModelProperty(value = "描述")
    private String description;

    @ApiModelProperty(value = "0: 未检查到瞬量点 1: 小于预警值")
    private Integer type;

    @ApiModelProperty(value = "备注信息: 展示空点位信息")
    private String remark;

    @ApiModelProperty(value = "状态: 0 未处理 1 已处理")
    private Integer flag;


}
